![]() |
PATH![]() |
![]() ![]() |
A ThemeButtonDrawInfo structure describes the changeable visual characteristics of a button. Your application can use a ThemeButtonDrawInfo structure, together with a constant of type ThemeButtonKind , to fully describe the visual characteristics of a given button type at a given point in time. See Theme Button Kind Constants for a description of ThemeButtonKind values.
Your application uses the ThemeButtonDrawInfo structure in the function DrawThemeButton to draw a theme-compliant button and in the functions GetThemeButtonRegion and GetThemeButtonContentBounds to obtain information about a specific button type. The ThemeButtonDrawInfo structure is available with Appearance Manager 1.1 and later.
struct ThemeButtonDrawInfo {
ThemeDrawState state;
ThemeButtonValue value;
ThemeButtonAdornment adornment;
};
typedef struct ThemeButtonDrawInfo ThemeButtonDrawInfo;
typedef ThemeButtonDrawInfo *ThemeButtonDrawInfoPtr;